// FIXME rationalize shadows
- /* this is used for the resize cursor area */
+ // this is used for the resize cursor area
margin: 10px;
&:backdrop {
- /* the transparent shadow here is to enforce that the shadow extents don't
- * change when we go to backdrop, to prevent jumping windows
- */
- box-shadow: 0 2px 6px 2px transparentize(black, 0.8),
- 0 3px 9px 1px transparent,
+ // the transparent shadow here is to enforce that the shadow extents don't
+ // change when we go to backdrop, to prevent jumping windows.
+ // The biggest shadow should be in the same order then in the active state
+ // or the jumping will happen during the transition.
+ box-shadow: 0 3px 9px 1px transparent,
+ 0 2px 6px 2px transparentize(black, 0.8),
0 0 0 1px $_wm_border_backdrop;
}
border-radius: 7px 7px 0 0;
border-width: 0px;
box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(28, 31, 31, 0.9);
- /* this is used for the resize cursor area */
margin: 10px; }
decoration:backdrop {
- /* the transparent shadow here is to enforce that the shadow extents don't
- * change when we go to backdrop, to prevent jumping windows
- */
- box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 3px 9px 1px transparent, 0 0 0 1px rgba(28, 31, 31, 0.9); }
+ box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(28, 31, 31, 0.9); }
.fullscreen decoration, .tiled decoration {
border-radius: 0; }
.popup decoration {
border-radius: 7px 7px 0 0;
border-width: 0px;
box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.23);
- /* this is used for the resize cursor area */
margin: 10px; }
decoration:backdrop {
- /* the transparent shadow here is to enforce that the shadow extents don't
- * change when we go to backdrop, to prevent jumping windows
- */
- box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 3px 9px 1px transparent, 0 0 0 1px rgba(0, 0, 0, 0.18); }
+ box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.18); }
.fullscreen decoration, .tiled decoration {
border-radius: 0; }
.popup decoration {